package com.vma.jifu.controller;

import com.vma.jifu.advertisement.service.AdvertisementService;
import com.vma.jifu.advertisement.service.impl.AdvertisementServiceImpl;

/**
 * Created by chenzui on 2017/6/22.
 */
public class AdvertiseController extends BaseController {
    private AdvertisementService advertisementService = new AdvertisementServiceImpl();

    public void getAdById(){
        Integer id = getParaToInt("id");
        renderRes(advertisementService.getAdById(id));
    }
}
